package com.pignest.hotel.beans;

import java.util.Date;

/**
 * IntegralLog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class IntegralLog implements java.io.Serializable {
	private static final long serialVersionUID = 2015730074097578226L;
	
	private String logId;
	private Member member;
	private Date time;
	private int integral;
	private String remark;
	////赠送、消费(消费后系统分配积分)、购买(通过购买积分方式积累)、兑换(利用积分来消费结账的)
	private String type;

	// Constructors

	/** default constructor */
	public IntegralLog() {
	}

	/** full constructor */
	public IntegralLog(Member member, Date time, int integral, String remark,
			String type) {
		this.member = member;
		this.time = time;
		this.integral = integral;
		this.remark = remark;
		this.type = type;
	}

	// Property accessors

	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getIntegral() {
		return this.integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}



}